A mechanism for visualizing TCP-socket interactions
نویسندگان
چکیده
TCP sockets are an important and ubiquitous construct. In order to better understand the behaviour of programs using TCP sockets, we have developed instrumentation that transparently collects information about each socket and graphically displays it as a single, unified view. This paper will describe the instrumentation which leverages an existing tool, POET (Partial-Order Event Tracer), to display the partial order derived from the socket operations. Several challenges in constructing this instrumentation will be discussed in detail. These challenges include accounting for relative delays in receiving information from the processes at two ends of the TCP stream, collating information from the two ends such that events can be sent to POET in a coherent form, and determining a useful and accurate visual representation of the communication sequences.
منابع مشابه
The TCP Bandwidth-Delay Product revisited: network buffering, cross traffic, and socket buffer auto-sizing
TCP is often blamed that it cannot use efficiently network paths with high Bandwidth-Delay Product (BDP). The BDP is of fundamental importance because it determines the required socket buffer size for maximum throughput. In this paper, we re-examine the BDP concept, considering the effects of network buffering and cross traffic on the ‘bandwidth’ and ‘delay’ characteristics of a path. We show t...
متن کاملTCPSnitch: Dissecting the Usage of the Socket API
Networked applications interact with the TCP/IP stack through the socket API. Over the years, various extensions have been added to this popular API. In this paper, we propose and implement the TCPSnitch software that tracks the interactions between Linux and Android applications and the TCP/IP stack. We collect a dataset containing the interactions produced by more than 120 different applicati...
متن کاملOn Automatic Parameter Configuration Mechanism for Data Transfer Protocol GridFTP
In recent years, Grid computing has got a lot of attention. Grid computing is a concept of connecting geographically-distributed computational resources via networks, which is expected to realize efficient usage of computational resources and large-scale scientific and engineering computation. In Grid computing, a data transfer protocol called GridFTP has been used for large file transfer. Grid...
متن کاملDesigning and implementing a new type of transport-layer socket: the UDTCP socket case
On most operating systems, the UDP and TCP sockets are the two main types of sockets used to provide transport-layer networking services. However, for several reasons, UDP and TCP sockets are unsuitable for transporting delay-sensitive but error-tolerant streaming data such as the data generated by multimedia streaming applications. In this paper, we create a new type of socket that is suitable...
متن کاملA Mobile Tcp Socket
In this paper, we propose a mobile TCP socket which is the second step of our two step approach to support mobility. The rst step of our approach is to support portability as reported earlier. In our mobile TCP socket, a mobile mapping is introduced, which maps TCP associations to underlying TCP connections. The mobile mapping can be implemented in the socket layer and on top of TCP/IP protocol...
متن کامل